package com.cn.aam.checaiduo.base.web;

import android.content.Context;
import android.content.Intent;

import com.alibaba.android.arouter.facade.annotation.Route;
import com.cn.aam.checaiduo.Const;

@Route(path = "/web/normal", name = "普通webview", group = "web")
public class NormalWebActivity extends BaseWebActiivity {


    public static Intent newInstance(Context context, String targetUrl, String targetTitle) {
        Intent i = new Intent(context, NormalWebActivity.class);
        i.putExtra(Const.TARGET_URL, targetUrl);
        i.putExtra(Const.TARGET_TITLE, targetTitle);
        return i;
    }

    //充值跳转调用
    public static Intent newInstance(Context context, String targetUrl, String targetTitle, String gotoFlag) {
        Intent i = new Intent(context, NormalWebActivity.class);
        i.putExtra(Const.TARGET_URL, targetUrl);
        i.putExtra(Const.TARGET_TITLE, targetTitle);
        i.putExtra("gotoFlag", gotoFlag);
        return i;
    }

    @Override
    protected void onGenerate() {
        super.onGenerate();

    }
}
